package com.happystudy.mapper;

import com.happpystudy.model.course.CourseKey;
import com.happpystudy.model.course.CourseTopic;

import java.util.List;

public interface CourseTopicMapper {
    int deleteByPrimaryKey(Integer topicid);

    int insert(CourseTopic record);

    int insertSelective(CourseTopic record);

    CourseTopic selectByPrimaryKey(Integer topicid);

    int updateByPrimaryKeySelective(CourseTopic record);

    int updateByPrimaryKey(CourseTopic record);

    int queryNextPrimaryKey();

    List<CourseTopic> selectByCourseKey(CourseTopic courseKey);

    CourseTopic selectByCourseTopicName(String courseTopicName);

    List<CourseTopic> queryCourseTopicByUniIdAndCourseId(CourseTopic courseKey);
}